<?php
class class_mainlog extends doom_core_log {

    public function getEngineConfig() {
        return null;
    }

    public function getEngineClazz() {
        return 'doom_log_pageconsole';
    }
    
    public function getLevel() {
        if (isset($_GET['loglevel'])) {
            return intval($_GET['loglevel']);
        } else {
            return doom_config::$LOG_LEVEL; 
        }
    }
}
?>